package com.webapp.model;

import java.sql.Date;

public class User extends Person{
	
	private int userId;
	private Date creationDate;
	private int rating;
	private String password;
	
	public User(int social){
		this.setSSN(social);
	}
	
	public int getUserId(){return this.userId;}
	public Date getCreationDate(){return this.creationDate;}
	public int getRating(){return this.rating;}
	public String getPassword(){return this.password;}
	
	public void setUserId(int newUI){this.userId = newUI;}
	public void setCreationDate(Date newDate){this.creationDate = newDate;}
	public void setRating(int newRate){this.rating = newRate;}
	public void setPassword(String pass){this.password = pass;}
}
